Extra lines in 2nd before 11 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ11; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 11:18)
/* You may incorporate this sample code into your applications without
** restriction, though the sample code has been provided "AS IS" and the
** responsibility for its operation is 100% yours. However, what you are
** not permitted to do is to redistribute the source as "DSC Sample Code"
** after having made changes. If you're going to re-distribute the source,
** we require that you make it clear in the source that the code was
** descended from Apple Sample Code, but that you've made changes. */
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 55:69; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 63:89)
#pragma segment DrawObjects
long TRectObj(TreeObjHndl hndl, short message, long data)
{
TreeObjHndl root, shndl;
Rect rct, oldRct, *rptr, grabber;
short hit, fileRefNum, dx1, dx2, dy1, dy2, h, v, ptype;
long TRectObj(TreeObjHndl hndl, short message, long data)
{
TreeObjHndl root, shndl;
Rect rct, oldRct, *rptr, grabber;
short hit, fileRefNum, dx1, dx2, dy1, dy2, h, v, ptype;
short fv, fh, flip, noDraw, w;
Point where, begMouse, curMouse, offset;
Boolean selected;
EventRecord option;
ClickInfo *click;
RgnHandle rgn;
OSErr err;
RGBColor rgb, rgb2;
#if VH_VERSION
char *cptr;
Extra lines in 2nd before 86 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ86; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 106:110)
mDerefCommon(hndl)->penHeight = gPenHeight;
mDerefCommon(hndl)->penWidth = gPenWidth;
mDerefCommon(hndl)->borderColor = gBorderColor;
mDerefCommon(hndl)->content = true;
mDerefCommon(hndl)->contentColor = gContentColor;
Extra lines in 1st before 217 in 2nd (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 192; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line Δ217)
rct = mDerefCommon(hndl)->rect;
Extra lines in 2nd before 197 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ197; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 221)
Extra lines in 2nd before 205 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ205; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 230)
rct = mDerefCommon(hndl)->rect;
Extra lines in 2nd before 293 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ293; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 319)
case GETOBJRECTMESSAGE:
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 298; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 325)
case SETBBOXMESSAGE:
case SETOBJRECTMESSAGE:
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 303; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 330)
case SECTBBOXMESSAGE:
case SECTOBJRECTMESSAGE:
Extra lines in 1st before 336 in 2nd (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 309:311; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line Δ336)
case TARGETMESSAGE:
break;
Extra lines in 2nd before 314 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ314; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 338:340)
h = mDerefCommon(hndl)->penHeight;
w = mDerefCommon(hndl)->penWidth;
PenSize(w, h);
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 316:317; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 343:358)
FillRect(&rct, (ConstPatternParam)&qd.white);
FrameRect(&rct);
if (gQDVersion)
GetForeColor(&rgb);
ForeColor(whiteColor);
if (gQDVersion) {
rgb2 = mDerefLine(hndl)->contentColor;
RGBForeColor(&rgb2);
}
PaintRect(&rct);
ForeColor(blackColor);
if (gQDVersion) {
rgb2 = mDerefLine(hndl)->borderColor;
RGBForeColor(&rgb2);
}
FrameRect(&rct);
if (gQDVersion)
RGBForeColor(&rgb);
Extra lines in 1st before 377 in 2nd (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 336; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line Δ377)
PenNormal();
Extra lines in 2nd before 342 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ342; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 382)
PenNormal();
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 354; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 395)
ccat (cptr, " $00: selected = ");
ccat (cptr, " $00: selected = ");
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 358; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 399)
ccat (cptr, " $02: rect = ($");
ccat (cptr, " $02: rect = ($");
Extra lines in 2nd before 367 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ367; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 408:432)
Extra lines in 2nd before 371 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ371; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 437:440)
Extra lines in 2nd before 397 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ397; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 467:469)
noDraw = (data & SELECTNODRAW);
data ^= noDraw;
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 399:401; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 472:476)
mDerefCommon(hndl)->selected = true;
DoTreeObjMethod(hndl, DRAWMESSAGE, DRAWSELECT);
/* Force a draw-toggle of the selection grabbers. */
if (!noDraw) {
mDerefCommon(hndl)->selected = true;
DoTreeObjMethod(hndl, DRAWMESSAGE, DRAWSELECT);
/* Force a draw-toggle of the selection grabbers. */
}
Nonmatching lines (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line 418; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 493)
Extra lines in 2nd before 431 in 1st (File "b:-archives:93/03/25.Dev.CD.Version:AppsToGo.CD:DTS.Draw:TRectObj.c"; Line Δ431; File "a:Desktop Folder:AppsToGo.src:DTS.Draw:TRectObj.c"; Line 506)
if ((*hndl)->type == EXTSELECTOBJ) option.modifiers = 0;